// 多组件库的国际化和本地项目国际化兼容
import { getStorage } from "/@/utils/auth";
import { createI18n } from "vue-i18n";
import { localesConfigs } from "./config";
import store from "../../store/index"

const i18n = createI18n({
  locale: store.getters.language, // set locale
  messages: localesConfigs
});
export default i18n
